package com.aji.mapper;

import com.aji.dto.IsotopeDto;
import com.aji.entity.*;
import com.aji.vo.IsotopeByIdVo;
import com.aji.vo.IsotopeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IsotopeMapper {
    List<IsotopeVo> pageQuery(IsotopeDto isotopeDto) ;

    void deleteByIds(List<Integer> ids) ;

    void add(Isotope isotope);
    void addMore(IsotopeMore isotopeMore);

    void upDate(Isotope isotope);

    IsotopeByIdVo selectById(int id);

    List<IsotopeTrain> selectAll();

    List<IsotopeTest> selectByIds(List<Integer> ids);

    Integer getLastInsertId();

    void updateMore(IsotopeMore isotopeMore);

    void deleteContentsByIds(List<Integer> ids);

    void deleteOriginByIds(List<Integer> ids);

    void addMore1(IsotopeOrigin isotopeOrigin);

    void updateMore1(IsotopeOrigin isotopeOrigin);
}
